raur 2.0.2

A simple wrapper to query the AUR RPC.
Documentation

pipeline status

raur

raur is a library for interacting with the aurweb RPC Interface.

See also the Arch wiki page for more information.

Example

// Use `search` to search using keywords (multiple strategies available)
let pkgs = raur::search("pacman")?;
assert!(pkgs.len() > 10);

for pkg in pkgs {
    println!("{:<30}{}", pkg.name, pkg.version);
}

// Use `info` to get info about a specific packages.
let pkgs = raur::info(&["spotify", "discord"])?;
assert_eq!(pkgs.len(), 2);

for pkg in pkgs {
    println!("{:<30}{}", pkg.name, pkg.version);
}